﻿using SmartHRMS.Infrastructure;
using System;
using System.Collections.Generic;

namespace SmartHRMS.Model.Account
{
    public class Module : BusinessBase<Module>, IAggregateRoot, IEntity
    {
        public Guid ModuleId { get; set; }

        public string Description { get; set; }

        public IList<Permission> permission = new List<Permission>();

        public Module()
        {
        }

        public IList<Permission> Permission
        {
            get { return permission; }
            set { permission = value; }
        }

        public override void validate()
        {
        }

    }
}
